package com.link.base.base.product.model;

import com.link.core.basic.model.BasicModel;

import java.math.BigDecimal;
import java.util.List;

/**
 * 零件报价表
 *
 * @author 阳晓琳
 * @date 2020-10-16 17:19:06
 */
public class ProdQuote extends BasicModel {

    /**
    *  报价轮次ID
    */
    private Long quoteRoundId;
    /**
    *  零件成本ID
    */
    private Long partCostId;
    /**
    *  工艺
    */
    private String craft;

    /**
    *  预设利率
    */
    private BigDecimal defaultRate;
    /**
    *  自定义利率
    */
    private BigDecimal defineRate;
    /**
    *  产品净重(g)
    */
    private BigDecimal netWeight;
    /**
    *  产品毛重(g)
    */
    private BigDecimal roughWeight;
    /**
    *  材料单价(元/kg)
    */
    private BigDecimal maUnitPrice;
    /**
    *  材料价格(元)
    */
    private BigDecimal maPrice;
    /**
    *  外购单价(元)
    */
    private BigDecimal outUnitPrice;
    /**
    *  外购总价(元)
    */
    private BigDecimal outTotalPrice;
    /**
    *  生产设备
    */
    private String prodEquip;
    /**
    *  设备每小时成本(元/小时)
    */
    private BigDecimal equipHourCost;
    /**
    *  生产节拍时间(s)
    */
    private BigDecimal beatTime;
    /**
    *  人工单小时成本(元/小时)
    */
    private BigDecimal peoHourCost;
    /**
    *  型腔数
    */
    private BigDecimal cavityNum;
    /**
    *  作业人数
    */
    private BigDecimal workNum;
    /**
    *  人工费用(元)
    */
    private BigDecimal peoFee;
    /**
    *  设备费用(元)
    */
    private BigDecimal equipFee;
    /**
    *  设备稼动率
    */
    private BigDecimal equipActivation;
    /**
    *  合格率
    */
    private BigDecimal passPercent;
    /**
    *  班产(12H)
    */
    private BigDecimal classProdNum;
    /**
    *  直接制造成本(元)
    */
    private BigDecimal makeCost;
    /**
    *  模具费
    */
    private BigDecimal toolFee;
    /**
    *  检具费
    */
    private BigDecimal submitFee;
    /**
    *  专用设备费用
    */
    private BigDecimal specEquipFee;
    /**
    *  包装容器类型
    */
    private String wrapperType;
    /**
    *  容器尺寸
    */
    private String containerSize;
    /**
    *  周转容器单价
    */
    private BigDecimal containerUnitPrice;
    /**
    *  投入容器量
    */
    private BigDecimal inputValue;
    /**
    *  投入总金额
    */
    private BigDecimal inputTotalAmount;
    /**
    *  产品总产量
    */
    private BigDecimal prodTotalNum;
    /**
    *  容器损耗
    */
    private BigDecimal containerLoss;
    /**
    *  出货包装单件价格
    */
    private BigDecimal shipPackUnitPrice;
    /**
    *  实验费用
    */
    private BigDecimal laboratoryFee;
    /**
    *  运输费
    */
    private BigDecimal trafficFee;
    /**
    *  管利费
    */
    private BigDecimal manaProFee;
    /**
    *  客户价格
    */
    private BigDecimal acctPrice;



    /**
     *  CRM零件ID
     */
    private Long cRMPartId;
    /**
     *  数量
     */
    private BigDecimal perCar;
    /**
     *  装车比
     */
    private BigDecimal loadingRatio;
    /**
     *
     *  材料牌号及材料标准
     */
    private String materialBrand;
    /**
     *  工序
     */
    private String workProcedure;
    /**
     *  工厂成本（未含模摊）
     */
    private BigDecimal factoryCost;
    /**
     *  分摊量
     */
    private BigDecimal apportionment;
    /**
     *  模摊费用
     */
    private BigDecimal moldCost;
    /**
     *  工厂成本（含模摊）
     */
    private BigDecimal factoryCostMold;
    /**
     *  材料单价（元/kg）
     */
    private BigDecimal materialUnitPri;
    /**
     *  外购单价（元）
     */
    private BigDecimal outBuyUnitPrice;
    /**
     *  外购单价（元）
     */
    private BigDecimal prodBeatTime;
    /**
     *  作业人数
     */
    private BigDecimal workerNum;
    /**
     *  人工单小时成本（元/小时）
     */
    private BigDecimal laborCostHour;
    /**
     *  型腔数
     */
    private BigDecimal cavityNumber;
    /**
     *  设备稼动率
     */
    private BigDecimal equUtilizatRate;
    /**
     * 设备每小时成本（元/小时）
     */
    private BigDecimal  equipCostHour;
    /**
     * 模具费
     */
    private BigDecimal  mouldCost;
    /**
     * 检具费
     */
    private BigDecimal  inspectionCost;
    /**
     * 专用设备费
     */
    private BigDecimal  specialEquipCost;
    /**
     * 周转容器单价
     */
    private BigDecimal turnoverContain;
    /**
     * 实验费用
     */
    private BigDecimal experimentCost;
    /**
     * 产品总产量
     */
    private BigDecimal totalProdOutput;
    /**
     * 容器损耗
     */
    private BigDecimal vesselLoss;

    /**
     * 运输费
     */
    private BigDecimal freight;
    /**
     * 出货包装单件价格（元/件）
     */
    private BigDecimal shipPackagePri;
    /**
     *直接制造成本（元）
     */
    private BigDecimal manufactCost;
    /**
     * 外购总价（元）
     */
    private BigDecimal outBuyTotalPrice;
    /**
     * 材料价格（元）
     */
    private BigDecimal materialPrice;



    /**
     * 均车价
     */
    private BigDecimal averageCarPrice;
    /**
     * 毛利率
     */
    private BigDecimal grossMargin;
    /**
     * 商务价格（含模摊）
     */
    private BigDecimal businessPriceYes;
    /**
     * 商务价格（未含模摊）
     */
    private BigDecimal businessPriceNo;

    private BigDecimal partAvgCarCost;
    /**
     * 工厂制造费用分摊
    private BigDecimal facManufactCostShar;
    *//**
     * 总成材料价格
     *//*
    private BigDecimal assMaterialPrice;
    *//**
     * 总成外购/外协总价-
     *//*
    private BigDecimal outsourTotalPrice;
    *//**
     * 总成直接制造成本
     *//*
    private BigDecimal directAssemblyCost;
    *//**
     * 总成模具费
     *//*
    private BigDecimal assemblyMoldFee;
    *//**
     * 总成检具费
     *//*
    private BigDecimal asseInspectionFee;
    *//**
     * 总成专用设备费用
     *//*
    private BigDecimal asseSpecEquipCost;
    *//**
     * 总成产品净重
     *//*
    private BigDecimal assProductNetWeight;*/
    /**
     * 产品毛重（g）
     */
    private BigDecimal prodGrossWet;


    /**
     *  CRM总成ID
     */
    private Long cRMAssemblysId;
    /**
     *  零件号
     */
    private String partCode;
    /**
     *  零件名称
     */
    private String partName;
    /**
     *  一彬零件名称
     */
    private String iYUPartName;
    /**
     *  尺寸
     */
    private String partSize;
    /**
     *  是否为DB类零件
     */
    private String isDBPart;

    /**
     *  项目ID
     */
    private Long projectHeadId;
    /**
     *  报价类型
     */
    private String quoteType;
    /**
     *  报价轮次
     */
    private Long quoteRound;

    private BigDecimal facShareCost;

    /**
     *  客户价格毛利率
     */
    private BigDecimal acctPriGrossMargin;
    /**
     *  客户价格均车价
     */
    private BigDecimal acctPriceCarPrice;

    /**
     * 零件报价list
     */
    private List<ProdQuote> prodQuoteList;

    public List<ProdQuote> getProdQuoteList() {
        return prodQuoteList;
    }

    public void setProdQuoteList(List<ProdQuote> prodQuoteList) {
        this.prodQuoteList = prodQuoteList;
    }

    public BigDecimal getAcctPriGrossMargin() {
        return acctPriGrossMargin;
    }

    public void setAcctPriGrossMargin(BigDecimal acctPriGrossMargin) {
        this.acctPriGrossMargin = acctPriGrossMargin;
    }

    public BigDecimal getAcctPriceCarPrice() {
        return acctPriceCarPrice;
    }

    public void setAcctPriceCarPrice(BigDecimal acctPriceCarPrice) {
        this.acctPriceCarPrice = acctPriceCarPrice;
    }

    public BigDecimal getPartAvgCarCost() {
        return partAvgCarCost;
    }

    public void setPartAvgCarCost(BigDecimal partAvgCarCost) {
        this.partAvgCarCost = partAvgCarCost;
    }

    public BigDecimal getFacShareCost() {
        return facShareCost;
    }

    public void setFacShareCost(BigDecimal facShareCost) {
        this.facShareCost = facShareCost;
    }

    public BigDecimal getManufactCost() {
        return manufactCost;
    }

    public void setManufactCost(BigDecimal manufactCost) {
        this.manufactCost = manufactCost;
    }

    public BigDecimal getOutBuyTotalPrice() {
        return outBuyTotalPrice;
    }

    public void setOutBuyTotalPrice(BigDecimal outBuyTotalPrice) {
        this.outBuyTotalPrice = outBuyTotalPrice;
    }

    public BigDecimal getMaterialPrice() {
        return materialPrice;
    }

    public void setMaterialPrice(BigDecimal materialPrice) {
        this.materialPrice = materialPrice;
    }

    public BigDecimal getShipPackagePri() {
        return shipPackagePri;
    }

    public void setShipPackagePri(BigDecimal shipPackagePri) {
        this.shipPackagePri = shipPackagePri;
    }

    public BigDecimal getFreight() {
        return freight;
    }

    public void setFreight(BigDecimal freight) {
        this.freight = freight;
    }

    public BigDecimal getVesselLoss() {
        return vesselLoss;
    }

    public void setVesselLoss(BigDecimal vesselLoss) {
        this.vesselLoss = vesselLoss;
    }

    public BigDecimal getTotalProdOutput() {
        return totalProdOutput;
    }

    public void setTotalProdOutput(BigDecimal totalProdOutput) {
        this.totalProdOutput = totalProdOutput;
    }

    public BigDecimal getExperimentCost() {
        return experimentCost;
    }

    public void setExperimentCost(BigDecimal experimentCost) {
        this.experimentCost = experimentCost;
    }

    public BigDecimal getTurnoverContain() {
        return turnoverContain;
    }

    public void setTurnoverContain(BigDecimal turnoverContain) {
        this.turnoverContain = turnoverContain;
    }

    public BigDecimal getMouldCost() {
        return mouldCost;
    }

    public void setMouldCost(BigDecimal mouldCost) {
        this.mouldCost = mouldCost;
    }

    public BigDecimal getInspectionCost() {
        return inspectionCost;
    }

    public void setInspectionCost(BigDecimal inspectionCost) {
        this.inspectionCost = inspectionCost;
    }

    public BigDecimal getSpecialEquipCost() {
        return specialEquipCost;
    }

    public void setSpecialEquipCost(BigDecimal specialEquipCost) {
        this.specialEquipCost = specialEquipCost;
    }

    public BigDecimal getEquipCostHour() {
        return equipCostHour;
    }

    public void setEquipCostHour(BigDecimal equipCostHour) {
        this.equipCostHour = equipCostHour;
    }

    public BigDecimal getEquUtilizatRate() {
        return equUtilizatRate;
    }

    public void setEquUtilizatRate(BigDecimal equUtilizatRate) {
        this.equUtilizatRate = equUtilizatRate;
    }

    public BigDecimal getCavityNumber() {
        return cavityNumber;
    }

    public void setCavityNumber(BigDecimal cavityNumber) {
        this.cavityNumber = cavityNumber;
    }

    public BigDecimal getLaborCostHour() {
        return laborCostHour;
    }

    public void setLaborCostHour(BigDecimal laborCostHour) {
        this.laborCostHour = laborCostHour;
    }

    public BigDecimal getWorkerNum() {
        return workerNum;
    }

    public void setWorkerNum(BigDecimal workerNum) {
        this.workerNum = workerNum;
    }

    public BigDecimal getProdBeatTime() {
        return prodBeatTime;
    }

    public void setProdBeatTime(BigDecimal prodBeatTime) {
        this.prodBeatTime = prodBeatTime;
    }

    public BigDecimal getOutBuyUnitPrice() {
        return outBuyUnitPrice;
    }

    public void setOutBuyUnitPrice(BigDecimal outBuyUnitPrice) {
        this.outBuyUnitPrice = outBuyUnitPrice;
    }

    public BigDecimal getMaterialUnitPri() {
        return materialUnitPri;
    }

    public void setMaterialUnitPri(BigDecimal materialUnitPri) {
        this.materialUnitPri = materialUnitPri;
    }

    public Long getQuoteRound() {
        return quoteRound;
    }

    public void setQuoteRound(Long quoteRound) {
        this.quoteRound = quoteRound;
    }

    public String getQuoteType() {
        return quoteType;
    }

    public void setQuoteType(String quoteType) {
        this.quoteType = quoteType;
    }

    public Long getProjectHeadId() {
        return projectHeadId;
    }

    public void setProjectHeadId(Long projectHeadId) {
        this.projectHeadId = projectHeadId;
    }

    public Long getQuoteRoundId() {
        return quoteRoundId;
    }

    public void setQuoteRoundId(Long quoteRoundId) {
        this.quoteRoundId = quoteRoundId;
    }
    
    public Long getPartCostId() {
        return partCostId;
    }

    public void setPartCostId(Long partCostId) {
        this.partCostId = partCostId;
    }
    
    public String getCraft() {
        return craft;
    }

    public void setCraft(String craft) {
        this.craft = craft;
    }

    public BigDecimal getDefaultRate() {
        return defaultRate;
    }

    public void setDefaultRate(BigDecimal defaultRate) {
        this.defaultRate = defaultRate;
    }

    public BigDecimal getDefineRate() {
        return defineRate;
    }

    public void setDefineRate(BigDecimal defineRate) {
        this.defineRate = defineRate;
    }
    
    public BigDecimal getNetWeight() {
        return netWeight;
    }

    public void setNetWeight(BigDecimal netWeight) {
        this.netWeight = netWeight;
    }
    
    public BigDecimal getRoughWeight() {
        return roughWeight;
    }

    public void setRoughWeight(BigDecimal roughWeight) {
        this.roughWeight = roughWeight;
    }
    
    public BigDecimal getMaUnitPrice() {
        return maUnitPrice;
    }

    public void setMaUnitPrice(BigDecimal maUnitPrice) {
        this.maUnitPrice = maUnitPrice;
    }
    
    public BigDecimal getMaPrice() {
        return maPrice;
    }

    public void setMaPrice(BigDecimal maPrice) {
        this.maPrice = maPrice;
    }
    
    public BigDecimal getOutUnitPrice() {
        return outUnitPrice;
    }

    public void setOutUnitPrice(BigDecimal outUnitPrice) {
        this.outUnitPrice = outUnitPrice;
    }
    
    public BigDecimal getOutTotalPrice() {
        return outTotalPrice;
    }

    public void setOutTotalPrice(BigDecimal outTotalPrice) {
        this.outTotalPrice = outTotalPrice;
    }
    
    public String getProdEquip() {
        return prodEquip;
    }

    public void setProdEquip(String prodEquip) {
        this.prodEquip = prodEquip;
    }
    
    public BigDecimal getEquipHourCost() {
        return equipHourCost;
    }

    public void setEquipHourCost(BigDecimal equipHourCost) {
        this.equipHourCost = equipHourCost;
    }
    
    public BigDecimal getBeatTime() {
        return beatTime;
    }

    public void setBeatTime(BigDecimal beatTime) {
        this.beatTime = beatTime;
    }
    
    public BigDecimal getPeoHourCost() {
        return peoHourCost;
    }

    public void setPeoHourCost(BigDecimal peoHourCost) {
        this.peoHourCost = peoHourCost;
    }
    
    public BigDecimal getCavityNum() {
        return cavityNum;
    }

    public void setCavityNum(BigDecimal cavityNum) {
        this.cavityNum = cavityNum;
    }
    
    public BigDecimal getWorkNum() {
        return workNum;
    }

    public void setWorkNum(BigDecimal workNum) {
        this.workNum = workNum;
    }
    
    public BigDecimal getPeoFee() {
        return peoFee;
    }

    public void setPeoFee(BigDecimal peoFee) {
        this.peoFee = peoFee;
    }
    
    public BigDecimal getEquipFee() {
        return equipFee;
    }

    public void setEquipFee(BigDecimal equipFee) {
        this.equipFee = equipFee;
    }
    
    public BigDecimal getEquipActivation() {
        return equipActivation;
    }

    public void setEquipActivation(BigDecimal equipActivation) {
        this.equipActivation = equipActivation;
    }
    
    public BigDecimal getPassPercent() {
        return passPercent;
    }

    public void setPassPercent(BigDecimal passPercent) {
        this.passPercent = passPercent;
    }
    
    public BigDecimal getClassProdNum() {
        return classProdNum;
    }

    public void setClassProdNum(BigDecimal classProdNum) {
        this.classProdNum = classProdNum;
    }
    
    public BigDecimal getMakeCost() {
        return makeCost;
    }

    public void setMakeCost(BigDecimal makeCost) {
        this.makeCost = makeCost;
    }
    
    public BigDecimal getToolFee() {
        return toolFee;
    }

    public void setToolFee(BigDecimal toolFee) {
        this.toolFee = toolFee;
    }
    
    public BigDecimal getSubmitFee() {
        return submitFee;
    }

    public void setSubmitFee(BigDecimal submitFee) {
        this.submitFee = submitFee;
    }
    
    public BigDecimal getSpecEquipFee() {
        return specEquipFee;
    }

    public void setSpecEquipFee(BigDecimal specEquipFee) {
        this.specEquipFee = specEquipFee;
    }
    
    public String getWrapperType() {
        return wrapperType;
    }

    public void setWrapperType(String wrapperType) {
        this.wrapperType = wrapperType;
    }
    
    public String getContainerSize() {
        return containerSize;
    }

    public void setContainerSize(String containerSize) {
        this.containerSize = containerSize;
    }
    
    public BigDecimal getContainerUnitPrice() {
        return containerUnitPrice;
    }

    public void setContainerUnitPrice(BigDecimal containerUnitPrice) {
        this.containerUnitPrice = containerUnitPrice;
    }
    
    public BigDecimal getInputValue() {
        return inputValue;
    }

    public void setInputValue(BigDecimal inputValue) {
        this.inputValue = inputValue;
    }
    
    public BigDecimal getInputTotalAmount() {
        return inputTotalAmount;
    }

    public void setInputTotalAmount(BigDecimal inputTotalAmount) {
        this.inputTotalAmount = inputTotalAmount;
    }
    
    public BigDecimal getProdTotalNum() {
        return prodTotalNum;
    }

    public void setProdTotalNum(BigDecimal prodTotalNum) {
        this.prodTotalNum = prodTotalNum;
    }
    
    public BigDecimal getContainerLoss() {
        return containerLoss;
    }

    public void setContainerLoss(BigDecimal containerLoss) {
        this.containerLoss = containerLoss;
    }
    
    public BigDecimal getShipPackUnitPrice() {
        return shipPackUnitPrice;
    }

    public void setShipPackUnitPrice(BigDecimal shipPackUnitPrice) {
        this.shipPackUnitPrice = shipPackUnitPrice;
    }
    
    public BigDecimal getLaboratoryFee() {
        return laboratoryFee;
    }

    public void setLaboratoryFee(BigDecimal laboratoryFee) {
        this.laboratoryFee = laboratoryFee;
    }
    
    public BigDecimal getTrafficFee() {
        return trafficFee;
    }

    public void setTrafficFee(BigDecimal trafficFee) {
        this.trafficFee = trafficFee;
    }
    
    public BigDecimal getManaProFee() {
        return manaProFee;
    }

    public void setManaProFee(BigDecimal manaProFee) {
        this.manaProFee = manaProFee;
    }
    
    public BigDecimal getAcctPrice() {
        return acctPrice;
    }

    public void setAcctPrice(BigDecimal acctPrice) {
        this.acctPrice = acctPrice;
    }

    public Long getcRMPartId() {
        return cRMPartId;
    }

    public void setcRMPartId(Long cRMPartId) {
        this.cRMPartId = cRMPartId;
    }

    public BigDecimal getPerCar() {
        return perCar;
    }

    public void setPerCar(BigDecimal perCar) {
        this.perCar = perCar;
    }


    public String getMaterialBrand() {
        return materialBrand;
    }

    public void setMaterialBrand(String materialBrand) {
        this.materialBrand = materialBrand;
    }

    public String getWorkProcedure() {
        return workProcedure;
    }

    public void setWorkProcedure(String workProcedure) {
        this.workProcedure = workProcedure;
    }

    public BigDecimal getFactoryCost() {
        return factoryCost;
    }

    public void setFactoryCost(BigDecimal factoryCost) {
        this.factoryCost = factoryCost;
    }

    public BigDecimal getApportionment() {
        return apportionment;
    }

    public void setApportionment(BigDecimal apportionment) {
        this.apportionment = apportionment;
    }

    public BigDecimal getMoldCost() {
        return moldCost;
    }

    public void setMoldCost(BigDecimal moldCost) {
        this.moldCost = moldCost;
    }

    public BigDecimal getFactoryCostMold() {
        return factoryCostMold;
    }

    public void setFactoryCostMold(BigDecimal factoryCostMold) {
        this.factoryCostMold = factoryCostMold;
    }

    public Long getcRMAssemblysId() {
        return cRMAssemblysId;
    }

    public void setcRMAssemblysId(Long cRMAssemblysId) {
        this.cRMAssemblysId = cRMAssemblysId;
    }

    public String getPartCode() {
        return partCode;
    }

    public void setPartCode(String partCode) {
        this.partCode = partCode;
    }

    public String getPartName() {
        return partName;
    }

    public void setPartName(String partName) {
        this.partName = partName;
    }

    public String getiYUPartName() {
        return iYUPartName;
    }

    public void setiYUPartName(String iYUPartName) {
        this.iYUPartName = iYUPartName;
    }

    public String getPartSize() {
        return partSize;
    }

    public void setPartSize(String partSize) {
        this.partSize = partSize;
    }

    public String getIsDBPart() {
        return isDBPart;
    }

    public void setIsDBPart(String isDBPart) {
        this.isDBPart = isDBPart;
    }

    public BigDecimal getAverageCarPrice() {
        return averageCarPrice;
    }

    public void setAverageCarPrice(BigDecimal averageCarPrice) {
        this.averageCarPrice = averageCarPrice;
    }

    public BigDecimal getGrossMargin() {
        return grossMargin;
    }

    public void setGrossMargin(BigDecimal grossMargin) {
        this.grossMargin = grossMargin;
    }

    public BigDecimal getBusinessPriceYes() {
        return businessPriceYes;
    }

    public void setBusinessPriceYes(BigDecimal businessPriceYes) {
        this.businessPriceYes = businessPriceYes;
    }

    public BigDecimal getBusinessPriceNo() {
        return businessPriceNo;
    }

    public void setBusinessPriceNo(BigDecimal businessPriceNo) {
        this.businessPriceNo = businessPriceNo;
    }

    public BigDecimal getProdGrossWet() {
        return prodGrossWet;
    }

    public void setProdGrossWet(BigDecimal prodGrossWet) {
        this.prodGrossWet = prodGrossWet;
    }

    public BigDecimal getLoadingRatio() {
        return loadingRatio;
    }

    public void setLoadingRatio(BigDecimal loadingRatio) {
        this.loadingRatio = loadingRatio;
    }
}
